import request from '@/utils/request'

// export function login(username, password) {
  
//   return request({
//     url: '/user/login',
//     method: 'post',

//     data: {
//       //登录接口
//       userName: username,
//       passwd: password
//     }
//   })
// }

export default{
    getSchoList(searchModel){
        return request({
            url: '/help/func2',
            method: 'get',
            params:{
                // 这里的参数一定要和后端一直，前面的键
               pageNo: searchModel.pageNo,
               pageSize: searchModel.pageSize,
               stuName: searchModel.stuName,
               stuId: searchModel.stuId,
               grade: searchModel.grade
            }
        })
    }
}
